<template>
  <div class="item" data-type="input"  v-bind:class="[('w'+obj.property.selfWidth)]">
      <div class="hd" v-bind:class="[('i'+obj.property.titleWidth+'d6')]">
        <label class="tit">{{obj.property.title}}</label>
        <span class="required" v-show="obj.property.required">*</span>
        <v-handle v-bind:handle="obj.handle"></v-handle>
      </div>
      <div class="bd" v-bind:class="[('i'+(obj.property.titleWidth==6?6:6-obj.property.titleWidth)+'d6')]">
        <<input v-bind:placeholder="obj.property.placeholder">
      </div>
    </div>
</template>

<script>
export default {
  props: ['obj']
}
</script>
